<?php

namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class Teacher extends Model
{
	
    protected $table = 'teacher';
    public $timestamps = false;


    static function getNameById($id){
        return self::where('id',$id)->value('user_name');
    }
}
